[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_LADA2112 SECONDARY_LOGO_LADA2112 "LadaParts\SECONDARY_LOGO_LADA2112.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_LADA CARSELECT_MANUFACTURER_LADA "LadaParts\CARSELECT_MANUFACTURER_LADA.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "LadaParts\TuningIcons"

move_file override relative absolute LadaParts\LADA2112.ini scripts\UnlimiterData\LADA2112.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions LADA2112
do
remove_collection GLOBAL\GLOBALB.LZC Collisions LADA2112
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides LADA2112_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides LADA2112_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos A3 LADA2112
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 ManufacturerName LADA
copy_collection GLOBAL\GLOBALB.LZC Collisions A3 LADA2112
import override GLOBAL\GLOBALB.LZC DBModelParts LadaParts\LADA2112.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides CAYMANS_PART_SPOILER LADA2112_PART_SPOILER

if directory_exists absolute CARS\LADA2112
do
else
create_folder absolute CARS\LADA2112
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\LADA2112\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\LADA2112\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\LADA2112\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\LADA2112\VINYLS.BIN

end

combobox "Aisberg" "Nefertiti" "Snezhnaya Koroleva" "Neptun" "Mlechny Put" "Paprika" "Franconia" "Korall" "Magiya" "Capri" "Riviera" "Izumrud" "Sochi" "Choose your stock color."

"Aisberg"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_WHITE

"Nefertiti"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_BEIGE

"Snezhnaya Koroleva"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_SILVER

"Neptun"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_SILVER2

"Mlechny Put"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_BLACK

"Paprika"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_RED

"Franconia"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_RED2

"Korall"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_PURPLE

"Magiya"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_PURPLE2

"Capri"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_BLUE

"Riviera"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_BLUE2

"Izumrud"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_GREEN

"Sochi"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos LADA2112 DefaultBasePaint LADA2112_PAINT_GREEN2

end
